﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CURDBase
{
    class Program
    {
        static void Main(string[] args)
        {
            CURD curd = new CURD();
            curd.ConnectionDB();

            //curd.Insert();
            //curd.Updata();
            //curd.Delete();

            //curd.GetSingleResult();
            //curd.GetResult1();
            //curd.GetResult2();

            //curd.GetSet1();
            //curd.GetSet2();

            // 通用数据类的使用
            CURDBaseForHelper baseHelper = new CURDBaseForHelper();

            //baseHelper.Insert();

            //baseHelper.UpData();

            //baseHelper.Delete();

            //baseHelper.GetSingleResule();

            //baseHelper.GetResult();

            //baseHelper.GetSet1();

            //baseHelper.GetSet2();

            CURDAdvance advance = new CURDAdvance();
            advance.Insert2();

            Console.Read();
        }

    }
}
